package com.sqlloader.application;
import com.sqlloader.views.LoadDataView;
import com.sqlloader.views.DBAccessView;
import com.sqlloader.views.SetColumnView;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		IFolderLayout right  =layout.createFolder( "right" , IPageLayout.LEFT,  IPageLayout.RATIO_MAX , IPageLayout.ID_EDITOR_AREA);
		right.addView(LoadDataView.ID);
		right.addView(DBAccessView.ID);
		right.addView(SetColumnView.ID);
	}
}
